package com.lcx.security.entity;
/**
 * 用于存放任务id,任务主进程，任务输出线程
 */
public class TaskEntity {
	private final String id;//任务id
	private final Process process;//任务主进程
	private final OutHandler thread;//任务输出线程
	private final OutHandler thread1;//任务输出线程

	public TaskEntity(String id, Process process, OutHandler thread, OutHandler thread1) {
		this.id = id;
		this.process = process;
		this.thread = thread;
		this.thread1 = thread1;
	}

	public String getId() {
		return id;
	}

	public Process getProcess() {
		return process;
	}

	public OutHandler getThread() {
		return thread;
	}

	public OutHandler getThread1() {
		return thread1;
	}

	@Override
	public String toString() {
		return "TaskEntity{" +
				"id='" + id + '\'' +
				", process=" + process +
				", thread=" + thread +
				", thread1=" + thread1 +
				'}';
	}
}
